<?php
/**
	Formul�rio para cadastro de um Campus.
*/

if(!isset($_SESSION))
{
   session_start();
}

if( !function_exists('__autoload') )
{
    function __autoload($class_name) {
    require_once $class_name . '.php';
    }
}


?>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>SAEO - Cadastro de Unidade</title>
		<link rel='stylesheet' type='text/css' href='templates/estilos.css'>
		<script type='text/javascript' src='templates/hintbox.js'></script>
		<script type='text/javascript' src='templates/validacoes.js'></script>
	</head>
	<body class='body' onload='javascript: document.cadastrar_campus.nomeCampus.focus();'>
		<form name='cadastrar_campus' action='EnviarDadosCampus.php?operacao=1' method='post' onsubmit='return ValidarCadastroCampus( document.cadastrar_campus.nome_campus, document.cadastrar_campus.responsavel_campus );'>
		<table width='779' border='0' cellspacing='0' cellpadding='0' align='center' bgcolor='#FFFFFF'>
			<tr>
				<td colspan='2'><?php include "Topo.php"; ?></td>
			</tr>
			<tr>
				<td>
					<div class='titulosTabelas' style='width:779; height:20; background:url(templates/tabela.jpg)'>CADASTRO DA UNIDADE</div>
				</td>
            </tr>
            <tr>
                <td colspan='2'>&nbsp;</td>
            </tr>
            <tr>
                <td>
                	<table class='tabela' width='650' border='0' cellspacing='0' cellpadding='0' align='center' bgcolor='#FFFFFF'>
						<tr>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<td class='textoTabelas'>&nbsp;Nome:</td>
							<td>
								<input type='text' name='nomeUnidade' size='50' maxlength='50' class='inputTexto' /> 
								<a href='#' class='hintanchor' onMouseover='showhint("Nome da Campus que ser� cadastrada no sistema.", this, event, "220px");'>[?]</a>
							</td>
						</tr>
						<tr>
							<td colspan='2'>&nbsp;</td>
						</tr>
						<tr>
							<td class='textoTabelas'>Respons&aacute;vel:</td>
							<td>
								<input type='text' name='responsavelUnidade' size='50' maxlength='50' class='inputTexto'>
								<a href='#' class='hintanchor' onMouseover='showhint("Nome completo do respons�vel da Campus.", this, event, "220px");'>[?]</a>
							</td>
						</tr>
						<tr>
							<td colspan='2'>&nbsp;</td>
						</tr>
						<tr>
							<td colspan='2' height='46'>
								<div style='position:relative;left:540px'>
									<input type='image' style='width:100px;height:30px;' onclick='EnviarInformacoes();' src='templates/btavancar.JPG'/>
								</div>
							</td>
						</tr>
                     </table>
                </td>
			</tr>
            <tr>
                <td>&nbsp;</td>
            </tr>
            <tfoot>
	           	<tr>
					<td colspan='2'>&nbsp;</td>
	            </tr>
				<tr>
                   	<?php include 'rodapeCreditos.php'; ?>
                   </tr>
            </tfoot>
		</table>
     	</form>
	</body>
</html>